-- GENERATED SPELL FOR [Darkmist Recluse] --


function spell0_4378(pUnit, Event) --@Debilitating Poison,n/a--
pUnit:FullCastSpellOnTarget(43133,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4378', 17000, 1)
end

function Sorts_4378(pUnit, Event)
local choix_sorts_4378 = math.random(0, 0)
if choix_sorts_4378 == 0 then
pUnit:RegisterEvent('spell0_4378', 1, 1)
end
end

function mob4378_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4378', math.random(1500, 3000), 1)
end

function mob4378_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4378_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4378_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4378, 1, 'mob4378_Action')
RegisterUnitEvent(4378, 2, 'mob4378_Leave')
RegisterUnitEvent(4378, 3, 'mob4378_Kill')
RegisterUnitEvent(4378, 4, 'mob4378_Die')
